package com.one.mapper;

import com.one.pojo.RateDailyRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RateDailyRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(RateDailyRecord record);

    int insertSelective(RateDailyRecord record);

    RateDailyRecord selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RateDailyRecord record);

    int updateByPrimaryKey(RateDailyRecord record);

    int countNum(String userId);

    List<RateDailyRecord> findByUserId(@Param("userId") String userId, @Param("start") int numPerPage, @Param("PageSize") int currentPage);
}